// name、path要一致
import { Carbon3DPrintMesh, CalendarSettings } from '@vicons/carbon'
export const routerData = [
  {
    name: 'home',
    path: '/home',
    hidden: false,
    component: 'home/index.vue',
    meta: { title: '首页', icon: Carbon3DPrintMesh },
    children: null
  },
  {
    name: 'basic',
    path: '/basic',
    hidden: false,
    component: null,
    meta: { title: '基础设置', icon: CalendarSettings },
    children: [
      {
        name: 'basic/module',
        path: '/basic/module',
        hidden: false,
        component: 'basic/module.vue',
        meta: { title: '菜单管理', icon: 'system-menu' },
        children: null
      },
      {
        name: 'basic/sysRole',
        path: '/basic/sysRole',
        hidden: false,
        component: 'basic/sysRole.vue',
        meta: { title: '权限管理', icon: 'system-dict' },
        children: null
      },
      {
        name: 'basic/user',
        path: '/basic/user',
        hidden: false,
        component: 'basic/user.vue',
        meta: { title: '用户管理', icon: 'user-user' },
        children: null
      }
    ]
  },
  {
    name: 'project',
    path: '/project',
    hidden: false,
    component: null,
    meta: { title: '项目管理', icon: 'user' },
    children: [
      {
        name: 'proList',
        path: '/proList',
        hidden: false,
        component: 'project/list.vue',
        meta: { title: '项目列表', icon: 'user-user' },
        children: null
      },
      {
        name: 'user-role',
        path: '/user-role',
        hidden: false,
        component: 'user-role.vue',
        meta: { title: '角色管理', icon: 'user-role' },
        children: null
      }
    ]
  }
]
